package controller.model;

class Brick
{
	private BrickColor color;
	private double x, y, angle;
	private long timestamp;
	
	public Brick(BrickColor color, double x, double y, double angle, long time)
	{
		this.color = color;
		this.x = x;
		this.y = y;
		this.angle = angle;
		this.timestamp = time;
	}
	
	public BrickColor getColor()
	{
		return color;
	}
	
	public double getX()
	{
		return x;
	}
	
	public double getY()
	{
		return y;
	}
	
	public double getAngle()
	{
		return angle;
	}
	
	public long getTime()
	{
		return timestamp;
	}
}
